package com.budweiser.model.log;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/***
 * 日志对象
 * 
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Log implements Serializable {
	private static final long serialVersionUID = -5398795297842978376L;
	private Long id;//ID
	private String username;// 用户名
	private String module;// 模块
	private String params;// 参数值
	private String remark;// 描述
	private Boolean flag;// 是否执行成功
	 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") 
	private Date createTime;// 新增日期
}
